package com.hzjq.core.convert

import com.hzjq.core.bean.CapEntity
import com.hzjq.core.loader.OnCapUidConvertLoader
import com.hzjq.core.util.Convert

class CompanyCapUidConvertor : OnCapUidConvertLoader {

    override fun convert(cap: CapEntity): String {
        return Convert.convertUid(cap.uid)
    }

    override fun restore(cap: CapEntity): String {
        return Convert.restoreUid(cap.convertUid)
    }
}